import request from '@/utils/request'

// 商户每日报表
export function getMerchantDaily(params: any) {
  return request({
    url: '/v1/report/getMerchantDailyReport',
    method: 'get',
    params: params
  })
}

// 商户每日详情
export function getMerchantDailyDetails(params: any) {
  return request({
    url: '/v1/report/getMerchantDailyGameReport',
    method: 'get',
    params: params
  })
}

// 游戏输赢
export function getGameWin(params: any) {
  return request({
    url: '/v1/admin/report/roomWinLose',
    method: 'get',
    params: params
  })
}

// 游戏输赢-高倍返奖详情
export function getGameWinDetails(params: any) {
  return request({
    url: '/v1/admin/report/getBonusMultipleDetails',
    method: 'get',
    params: params
  })
}


// 游戏排行
export function getRankList(params: any) {
  return request({
    url: '/v1/admin/report/playerRankList',
    method: 'get',
    params: params
  })
}

// 投注留存
export function getAgentRemainList(params: any) {
  return request({
    // url: '/v1/admin/report/retentionAgentList',
    url: '/v1/admin/report/retentionAgentListNew',
    method: 'get',
    params: params
  })
}

// 投注留存 - 商户投注留存列表
export function getRemainList(params: any) {
  return request({
    // url: '/v1/admin/report/retentionList',
    url: '/v1/admin/report/retentionAgentGameList',
    method: 'get',
    params: params
  })
}

// 商户-首次投注留存
export function getFirstRemainAgentList(params: any) {
  return request({
    url: '/v1/admin/report/firstBetRetentionAgentList',
    method: 'get',
    params: params
  })
}

// 游戏-首次投注留存
export function getFirstRemainList(params: any) {
  return request({
    url: '/v1/admin/report/firstBetRetentionList',
    method: 'get',
    params: params
  })
}